﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace ProjectFootball.MVC.Areas.MatchArea.Models
{
    public class MatchImportViewModel
    {
        public MatchImportViewModel()
        {
            StartDate = DateTime.Today._StartOfMonth();
            EndDate = DateTime.Today._EndOfMonth();
        }

        [Display(Name = "Competition")]
        [Required]
        [UIHint("CompetitionImport")]
        public Guid CompetitionGuid { get; set; }

        [DataType(DataType.Date)]
        [Display(Name = "View date")]
        [Required]
        public DateTime StartDate { get; set; }

        [DataType(DataType.Date)]
        [Display(Name = "View date")]
        [Required]
        public DateTime EndDate { get; set; }
    }
}